package com.guchenbo.spark.stream

import org.apache.spark.SparkConf
import org.apache.spark.streaming.{Seconds, StreamingContext}

/**
 * @author guchenbo
 * @date 2022/3/2
 */
object MyStream {
  def main(args: Array[String]): Unit = {
    val conf = new SparkConf().setAppName("my stream").setMaster("local[2]")
    val ssc = new StreamingContext(conf, Seconds(3))
  }
}
